package com.woniu.smallmedical.entity;

public class ResponseResult <T> {

    private T data;            //展示的数据
    private Integer state;    //状态码200,500
    private String message;    //字符串信息
    public ResponseResult() {
        super();
    }
    public ResponseResult(T data, Integer state, String message) {
        super();
        this.data = data;
        this.state = state;
        this.message = message;
    }
    public T getData() {
        return data;
    }
    public void setData(T data) {
        this.data = data;
    }
    public Integer getState() {
        return state;
    }
    public void setState(Integer state) {
        this.state = state;
    }
    public String getMessage() {
        return message;
    }
    public void setMessage(String message) {
        this.message = message;
    }
    @Override
    public String toString() {
        return "ResponseResult [data=" + data + ", state=" + state + ", message=" + message + "]";
    }


}
